all: deepthought

ref: deepthought
	given/referee -r 6 -c 7 -n 6 -t 10 ./$^ ./$^
	
d44: deepthought
	given/referee -r 4 -c 4 -n 3 -t 10 ./$^ ./$^

t: deepthought
	echo 6 7 4 1 15 | ./$^ t


deepthought: ConnectNPlayer.o main.o
	g++ $^ -o $@

main.o: main.cpp 
	g++ -Wall -c $^

ConnectNPlayer.o: ConnectNPlayer.cpp
	g++ -Wall -c $^

clean:
	rm *.o
	rm deepthought


# 
# 
# g++ -C term.cpp
# g++ -C termApp.cpp
# g++ -o termApp term.o termApp.o
# 
# -C means compile but no link.